package com.glodon.paas.account.api.bean;

import javax.xml.bind.annotation.XmlRootElement;


/**
 * Definition of OAuth Token
 * 
 * @author guojf
 * 
 */
@XmlRootElement(name = "oAuthToken")
public class OAuthToken{
	private String value;
	
	private String callbackUrl;
	private String verifier;
	private String secret;
	private String consumerKey;
	private boolean accessToken;
	private String userId;

	private long timestamp;

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public String getCallbackUrl() {
		return callbackUrl;
	}

	public void setCallbackUrl(String callbackUrl) {
		this.callbackUrl = callbackUrl;
	}

	public String getVerifier() {
		return verifier;
	}

	public void setVerifier(String verifier) {
		this.verifier = verifier;
	}

	public String getSecret() {
		return secret;
	}

	public void setSecret(String secret) {
		this.secret = secret;
	}

	public String getConsumerKey() {
		return consumerKey;
	}

	public void setConsumerKey(String consumerKey) {
		this.consumerKey = consumerKey;
	}

	public boolean isAccessToken() {
		return accessToken;
	}

	public void setAccessToken(boolean accessToken) {
		this.accessToken = accessToken;
	}

	public long getTimestamp() {
		return timestamp;
	}

	public void setTimestamp(long timestamp) {
		this.timestamp = timestamp;
	}
//	public OAuthAuthorization getAuthorization() {
//		return authorization;
//	}
//
//	public void setAuthorization(OAuthAuthorization authorization) {
//		this.authorization = authorization;
//	}

}
